package br.com.futibamanager.model;

/**
 * The User model.
 * 
 * @author diogenes.feijo
 *
 */
public class User {

	private String login;
	
	private String password;
	
	private String name;
	
	private String email;
	
	private Integer type;
	
	private transient boolean loggedIn;
	
	/**
	 * Default constructor
	 */
	public User() {
	}
	
	/**
	 * Gets the login.
	 * 
	 * @return String
	 */
	public String getLogin() {
		return login;
	}

	/**
	 * Sets the login.
	 * 
	 * @param login - the login
	 */
	public void setLogin(String login) {
		this.login = login;
	}

	/**
	 * Gets the password.
	 * 
	 * @return String
	 */
	public String getPassword() {
		return password;
	}

	/**
	 * Sets the password.
	 * 
	 * @param password - the password
	 */
	public void setPassword(String password) {
		this.password = password;
	}

	/**
	 * Gets the name.
	 * 
	 * @return String
	 */
	public String getName() {
		return name;
	}

	/**
	 * Sets the name.
	 * 
	 * @param name - the name
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * Gets the e-mail.
	 * 
	 * @return String
	 */
	public String getEmail() {
		return email;
	}

	/**
	 * Sets the e-mail.
	 * 
	 * @param email - the e-mail
	 */
	public void setEmail(String email) {
		this.email = email;
	}

	/**
	 * Gets the type.
	 * 
	 * @return String
	 */
	public Integer getType() {
		return type;
	}

	/**
	 * Sets the type.
	 * 
	 * @param type - the type
	 */
	public void setType(Integer type) {
		this.type = type;
	}

	/**
	 * Gets the Logged In flag.
	 * 
	 * @return boolean
	 */
	public boolean isLoggedIn() {
		return loggedIn;
	}

	/**
	 * Sets the Logged In flag.
	 * 
	 * @param loggedIn - the logged in flag
	 */
	public void setLoggedIn(boolean loggedIn) {
		this.loggedIn = loggedIn;
	}

}
